Migrate remapper to Java 6.