Update `stack2` API documentation.