Replace ast_manager_publish_message() with a more useful version.