Make compatible with karma karma>=0.11