Remove callbacks for addNewMaterial and addNewLight.

They are no longer necessary with new changes.