Check for protected methods

Adds protected methods to objective-c. Why didn't they do this years ago?