Add remaining comments in Portal.py.