If a cake contains dates, use lemon or orange. If a cake contains coconut, use vanilla or almond. The result may not be one you like. Use fresh spices and flavorings. Alcohol-based flavorings can evaporate, leaving a strong residue.
Dry spices can age and become weak.
It is better to buy small amounts fresh than a large amount you seldom use. Nuts can also turn rancid and actually do age. Buy what you need when you need it. Powdered sugar makes a smooth cake that dries out quickly. It is best used in special cookie recipes and in icings.