Added 'protected' attributes for vars