Fix indentation, add an assert.