Moves the consumer method into the protocol factory.