Make protected methods public for Ruby v2 support