Added documentation for the item module and fixed a bug.