Quick fix for the issue when using ActiveSupport::Concerns. Also, better check if object responds to some method.