Documentation updated to match the api.doc format.