Update documentation to follow API.