Fix wrong method for profiling routes.