First sketch of lint pass

Enough attributes are marked to cleanly compile an empty library.