Remove redunant function.