Change internal record names.
Add insert mode in the Mode data type.
Refactor.