I meant `final listeners = <String, List<Function>>{};`

but adding a type for directives would also be a good idea