Added documentation to some functions in cloned module