Spring dependency removal