The egg provides some body and fluffiness in the cheese layer. If you wanted, you could whisk an egg in the ricotta with some parmesan cheese to add more body to the cheese.