Added middleware stack to karibu