Added so redirect can be managed by code-created page types. Solves issue #255