Global object registry, also, support the new itemblockwithmetadata constructor