Remove .gitattributes, code cleanup