Fix nullable typehint for Ipn class