Fixes the attribute names in the getters and setters for many to one and one to many relations.