do not depend on types.StringTypes anymore