Factory methods for services return functions