Mixing in Jdk 7 for added compatibility.