Get rid of ref. Classes are already pass-by-reference.
Add a foreground map.