Add value conversions to the API