Removing put statements