allow type override in hash