Moved the functor method definitions out of the class body