DM 1.0 compat: only call setClaims for entities that have the method

Change-Id: Ia85b3e58216d26f313aafa122542292abf35e056
Merge "DM 1.0 compat: only call setClaims for entities that have the method"