Updated the documentation to reflect the new way of configuring spring.