Set pointers to 0 in private classes constructors