Changed event handling.