Action.__hash__ override