Defining directories and topics.