Removed uneccessary code.