Added documentation of two api methods.