Also make it not set some pointers to NULL potentially introducing a memory leak. That should be done in the constructor.