Common + mainpage prototype.