Allows spaces when defining generator functions in YAML file as well.