Automatic typing for pages