Added validation assert.