Fix bug pointed out by Nikolay Elenkov: protection level was being parsed out incorrectly!
Add prettier display for protectionLevel / flags