When baking with ricotta it's a good idea to use an egg to help keep its structure. Otherwise you'll find the ricotta runny.