It does not need to be cooked before filling, it softens and cooks when baked in the oven.