Merge pull request #212 from ZhukV/master

Fix compiler for get service, if event_dispatcher defined as alias.
Replace code for get definition defined as alias.