Adding locals and middleware handling