add 'protected' class to protected members