Fixed late parsing for declarative directives.