Started writing code for mapping types.