Fixed error in static method and timing wrapper