Move Permission object to its own file