Denesting of functions definitions.