Change super class for directories