Added further usage of generic argument in methods of BaseValue.Util for
parameters and return values.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>