Use nullptr instead of '0' for pointers