Add krakdroid middleware