Removing unused bean