Removed duplicate bean definitions.