Minimize the #includes in docshell/shistory