Adding support for #set directive