Added scaffold for state change events