Cleanup the base view