code: def load(param):
      
      return (
          Pattern(param) if isinstance(param, str)
          else param if param is not None
          else Null()
      )
docs: If the supplied parameter is a string, assum it's a simple
      pattern.