Use scope instead of class methods in models