A class for cakes