public function addFilter(string $fieldname, callable $callback, bool $validate = false) {
        $fieldname = $this->parseFieldSelector($fieldname);
        $this->filters[$fieldname][] = [$callback, $validate];
        return $this;
    }