Added share pointers in filter and folder.