This can be compiled outside of the middleware class and referenced here.