Adding some sugar.
Using java.lang.invoke.MethodType instead of of value class.