Use reflection to pass arguments instead of broken switch.

The current switch obviously doesn't work with more than 5 arguments, which some Handlers need -- so we use reflection to craft the class instance instead.