Automatically trigger init event when controller is initialized.