Avoid GetEntitiesWithClassname

This function is useless for our purposes.