Add apidocs
TODO: This class uses new `function<params : return>` syntax not yet standardized