Minor cleanup and refactoring.
- Move PERMIT_ALL to package object
- Remove cruft from CompileResult