Adding support for Devise.