Removed unnecessary code fragments.