Passing `Any` as opaque parameter