Added clean functions to remove events; views' elements are now determined by the parent view