Fix documentation.
Purge lua mode.
Separate settings per package.