Return self in reset(), so we can pipeline calls.
Add a preprocess function.