Remove unused setNull and copy constructor