Minor doc fix
Improved return values of low-level functions