Remove unnecessary bean