Added directory handler.