Switched to nullptr instead of NULL.