remove autoupgrade code for old function attributes format.