Sketches in coverage handling, fixes bug in uninstall hook callback.