Fixes ToolPageContext#writeHeader to use only concrete tool classes.