Removed type case from setChanges call parameter