When baking a cake instead of greasing and flouring the pan, line it with aluminum foil. After baking let the pan cool down and place the cake pan and all in the refrigerator to chill. When ready to frost the cake will lift out and you can easily peel the foil off the cake which will make it easier to icing.
Whenever you bake brownies or other baked items, line the pan you are using with heavy duty aluminum foil. When completely cool, carefully lift out; then pull foil away from sides. This makes it easy to cut and to lift out the pieces.