Fix calls to replace_spin and style errors.