Added api documentation
Update API docs.