Updating respond_to? to search private and protected methods.