Add a fucntion to retrieve the opaque value