Remove the generics parts when fetching a member from a generic type.

e.g. Foo<?>.CREATOR should be Foo.CREATOR,
ISomething<T>.Stub should be ISomething.Stub.
Support transferring UUID arrays.