Removed the upper bounds on CollectionBuilder.beforeEach(), withType() and afterEach() - the type can be anything. Also added some javadocs and test coverage.