Added support for custom page titles