Refactor some code and bump to 0.2.
More generic lint target.