Added timer for all REST APIs.