Add support to get the type of a value from the table