Removed salt from the TypeError for function serialization.