added null/blank directives to api -- fixes #32