Add consumes support.