Making the library Java6 compatible.