Convert static functions to methods for RouteState and RouteUpdate.