Adding functions to build advanced symbol tables