Added asVoidTriadicBlock() to support block functions that take three parameters.