Allow passing exceptions to log_info too
Allow registering message handlers on the Python bridge