Slightly better API call tracing functionality.