In Rails 3, when a callback is defined it no longer creates a class method/class macro for that class. Here we create class methods for the base so that when that callback is triggered it can call other methods.