Putting some helper methods into the API so we can track the last request made.