De-pointerized menuManager and box2d classes.