Added record mapValues method
Added coproduct mapValues method