Switch to the correct type.