Add class access control