Use modern C# idioms

We want to discourage users from using the target/action pattern as it is error prone.

One particular incorrect use is your code that exports a selector here for a function that takes an argument, but does not specify that an argument is expected (missing the ':' in the selector).

This fixed both issues.