Make it possible for panels to provide URLs and views.

Fix #448.