Write files, support class decorators