Remove references to autoflow, error wrapper

Fixes #1023