Prevent the need for extraneous "nan" import