Added support for optional configuration directives