Clean up model function documentation text.