Revert "remove unused directives in files"

This reverts commit 378271b3a61f4a343935b5440ce6113f84d69861.