Encapsulate resource directories