Introduced remove method to remove unused properties.