Added location and rout parameters.