Removing property assignment errors