Only use the Folder class handler if we're actually executing a folder.