Deleted some obsolete code.