Enable directory support in view handler