Added opaque attribute example.
Added objref examples.