Added  templates and ValidateError for invalid ficus script errors.