Need a test for this.