Cleanup
Add setPermission method for SubCommand.