Removed not needed codes.