Add method overload to solve JDK1.6 problem