Add dependencies and update hooks for install.