ObjectLayer can add data with weak references to objects.