Stupid bug. Need to add a test for this.
Fix compiler complaint by Maven.