It would be nice to have some more javadocs on this class: people are going to use it and want to know how to configure it.