Add span writer framework.