Fixed typo in hashing (here's to testing *before* you commit) and added hash notNull annotation