Perhaps we want mapping.class_name here?
```
[1, 10] in /Users/brianb/.rvm/gems/ruby-1.9.3-p545@tommyjohn/gems/devise_masquerade-0.1.3/lib/devise_masquerade/controllers/helpers.rb
   1  module DeviseMasquerade
   2    module Controllers
   3      module Helpers
   4        def self.define_helpers(mapping)
   5          debugger
=> 6          name = mapping.name
   7
   8          class_eval <<-METHODS, __FILE__, __LINE__ + 1
   9            def masquerade_#{name}!
   10              return if params[:masquerade].blank?
(rdb:1) mapping
#<Devise::Mapping:0x007fad9bce6990 @modules=[:database_authenticatable, :token_authenticatable, :rememberable, :recoverable, :registerable, :validatable, :trackable, :encryptable, :omniauthable, :masqueradable], @failure_app=Devise::FailureApp, @singular=:spree_user, @used_helpers=[:session, :password, :registration, :omniauth_callback, :masquerade], @format=nil, @scoped_path="spree_user", @used_routes=[:session, :password, :registration, :masquerade], @path_names={:registration=>"", :new=>"new", :edit=>"edit", :sign_out=>"logout"}, @class_name="Spree::User", @klass=#<Devise::Getter:0x007fad9bce52e8 @name="Spree::User">, @sign_out_via=:get, @controllers={:sessions=>"spree/user_sessions", :registrations=>"spree/user_registrations", :passwords=>"spree/user_passwords"}, @path_prefix=:user, @path="spree_user", @routes=[:session, :password, :registration, :omniauth_callback, :masquerade]>
(rdb:1) mapping.class_name
"Spree::User"
(rdb:1) mapping.name
:spree_user
```