Basic port to 1.7.10.
Merge branch 'master' of github.com:iChun/Hats