Added access restrictions on class editing