This is really ugly. Can't we use the `NewFromDescr` `flags` argument instead?