Remove duplicate methods

Thanks @mergulhao.