#167 allow inserting input and output filters