Remove refs dependency