Implemented spec for Hook