Use class methods instead of rake methods