# File lib/authlogic/acts_as_authentic/password.rb, line 180
        def self.included(klass)
          return if klass.crypted_password_field.nil?
          klass.define_callbacks *METHODS
          
          # If Rails 3, support the new callback syntax
          if klass.send(klass.respond_to?(:singleton_class) ? :singleton_class : :metaclass).method_defined?(:set_callback)
            METHODS.each do |method|
              klass.class_eval "def self.\#{method}(*methods, &block)\nset_callback :\#{method}, *methods, &block\nend\n", __FILE__, __LINE__
            end
          end
        end