Removed obsolete and useless code.