expose consume method at top level
Release 1.27.0