Added api documentation