Remove the unused bean