API: added some basic documentation