Omit trait in different file formats