Add `sameType()` method to VGenericComponent. #9