Removing unsused code.