Routing: set sourceType field