Remove duplicate classNameIsAllowed checks, since this is done on the annotateObject method itself.
Remove duplicate classNameIsAllowed checks, since this is done on the annotateObject method itself.

axyr/silverstripe-ideannotator,silverleague/silverstripe-ideannotator