Ignore dynamically created clases in RegisteredSubclasses

Change-Id: I8257b9c9ea3eb0ecfe47e14cafdcb59ad0186b83
Merge "Ignore dynamically created clases in RegisteredSubclasses"