Changed ScopedMap to abstract to allow for different types of data
structures