Check if NULL first.