Override default init and destroy events.