Remove the class checking nonsense.