Changed selection call to send a bean.
This will allow more configuration options to be sent, on the debug call
for instance.