Fixed gcc warnings in Item.h.