Add Consume method and tests.