refactor(api): Add more parameters to directives events