Added macro to handle defining data types enum.