Make scoping somewhat work.