Change Bounce constructor API

The Bounce constructor now accepts a flexible configuration parameter.