Add support for worksheet directives