Remove redundant function.