Fixed regest (directives were erroneously commented)