Got singleton to work with dispatcher initialization.