Removed redundant function.