Make compatible with Mezzanine PageMiddleware