Remove extraneous 'data' argument from a couple of functions. Fixes #28.