Add compatibility for new _transform() API in master.  The output function has been removed.
0.2.1