Move directives to new file.