Added implementation for handling Hooks. Added specs for Hooks. Updated the == methods to work properly. r-cochran, vaughncm, bobthesatyr