Remove unneeded registry properties.