Needed to implement hash for tastebuddy and ptastebuddy objects