Added early version of the symbol resolution pass.