Eliminated a redundant function.