path and templatePath requires value when defined as options