Makes sure that ToolPageContext#writeStandardForm doesn't display delete/trash action on a Tool object.
Removes directory caching since it has a memory leak.