Make speed callable by profiler