Added a DOCTYPE view helper to avoid ugly workarounds.