make directives module independent