Tweaked some of the API methods for doing logging and creating reports