Added permission hook on class creation
Added reserved extension names to prevent exceptions