Removal of useless code

Removed code which had not been removed that didn't need to be there.