Added support for setting custom EJS options.