Fix unexported opaque types