Remove unneccesary hooks from composer