Update type.
Remove preference callback.