Removed some useless code.