Why do this explicitly rather than putting a function_trace() decorator on utils.get_metadata_for_threads?