Use https gem source.
Reduce duplication in Profiler#wrap_methods_with_profiling.