Fix whatever was wrong with HandleScopes.