Prefer closures to classes.
Updated version to 0.1.0.