Wraps an expression with typing.cast().