Add Replaceable newConsumer function.