Added documentation for low-level functions