Add back baseDirectory property.