Add documentation about dynamic definition of functions