Clean up unused class and inherited properties.