Modify documentation to reflect new API.