Moved strings inline and fixed hashCode assertions.