Added documentation of apis