Add constants to Dispatcher and DirectoryProcessor