Fixed transitive dependencies and removed unneeded Spring configuration.