Remove non-needed class registration check

Change-Id: I601de691634651a690faa22a5dab7659398ad65b