Make label and set_directives private methods