Support for factors and other data types