StringType should perhaps be in enums.