Pass a Type to functions rather than using the TypeTag mechanism