Removed uneeded code.