Removed unused declarations from spring configuration files.