Support custom types