Delete .gitattributes, fix wrong-typed methods