Cleans up class