Cleanup bean with scopes