Draft version of reflection support in consumer.