Move devise.rb changes into a separate file.