Removed unnecessary Functor constraint