Ability to add custom PageMiddleware class