Added support for retrieving items along with the container.