Removing unnecessary configuration from appcontext.xml