Adds code coverage hook.