API: finish basic documentation