Update documentation to match new interface.