Refactor: Use nullptr instead of NULL or (Cast *)NULL.