Modifying dependency in kraken to have template specialization