Remove Spring dependencies.