Cleans up classes