Fixed bug in item callback.
Added basic items query.