Added some documentation to the item container function.