getType returns fast if name was not found in earlier call to getType