getHash() method definition broke the Travis CI build