Rename "fields" and "methods" attributes.