Deal with generics of type Nothing or Null