The upper layer of a leaf, called a cuticle, does which of the following?