Deleted some useles code in Dispatcher class