Added custom hashcodes to data types