Fix alias_method_chain for classes which have class methods named 'public', 'protected', or 'private'