Add helpers methods to active record base class.