Use static middleware