I always remove the stems and leave them out because I like for all of the stuffing to stay put in the mushroom. I'll often roughly chop these and put them in the fridge for the next morning's omelets or scrambles. If you really want to use them in this recipe, you could probably just chop them up and mix them in with the pesto.