NaN-catching.