Added some code for monitoring API calls (disabled).