docs directives cleanup