Added routing to moving of entity.