Added support for items. Still not complete however.