Changing events API.