Don't assume that the router has a container.
Test instantiation without a container.
Merge pull request #4779 from nathanhammond/patch-1

[BUGFIX beta] Don't assume that the router has a container.