Fix block/item registration.