DRY up the guid behavior