Added support for multiple view engines.