attribute and attributes are not unused methods in models