add some directives and user-defined methods