Documentation update and removal of print statements