More work on portal controllers.