Use getAlias
dispatching variant creation event
fixed spec
Merge pull request #1059 from akovalyov/fix/generator-events

Proper dispatching of variant creation event