Trigger init and destroy events.