Remove permissions field from generator.