Add hashCode for Schema class