Modern cake, especially layer cakes, normally contain a combination of flour , sugar , eggs , and butter or oil , with some varieties also requiring liquid (typically milk or water ) and leavening agents (such as yeast or baking powder ).