Added support for virtual resource directories in the registrations