Adds closure for issue of routing