Use host_dir only for functional tests (until I find a way to retrieve classes)