Remove unused imports.
Add means for specifying custom consumer error handles.