Fix custom packaging definition.
Improve docs and general cleanup.
Add compiler plugin to lifecycle.