Use class methods, as expected by rails