I guess this part belongs in the docs for Function, since it's basically describing how to subclass Function.