Change `getChildren()` to return `ConstVector`.