Added beforeInstall back.