Pesto can develop a brown layer on top when it's exposed to air. To prevent this, pour a thin layer of olive oil over the top of your pesto before freezing or refrigerating it.