Add api function to add mapped_values

Closes #8