Removed some redundant lines.