Added basic portal support.