Assign attributes to Router object.