Register directory declaration