Modify directive code syntax