Added 'clear' function to parts\