Group some scoping stuff together slightly.