Fixed items not being registered correctly.