Adding resolve hook sample.