Built-in support for Torch types.