Add type-safe (non void *) array-like object that holds weak references.