Add additional getters for primitive types and graph element classes to Item.