Remove STL objects in Code