Added explicit requires because it was breaking in rails 3.