Change properties to attributes in method signatures