Add class files to gitignore.