Added protected accessors for directory attributes so subclasses may use...

... them