Match the functions to the corresponding layers. (Not all options are used)