Added missing method to support jdk 1.7.0_60.