Initial directory code.