More API documentation (WIP)