register() takes arrays of routes or list of args