We need unit tests for this.