Fixed recent blunder in add_directives plugin.

Leo build: 20140921132301