Added AppDirectory property.