Switch from direct call of $this->init to hook on init.