Added inventory item functionality.