Removed redundant code.