API¶ WIP: this documentation is auto-generated from the source code, but still needs some tweaks. TODO