Implemented Portal functionality.