Updated: Set a custom result factory via a setter