Run layer hooks into setup-layer function.