Get use statement type from symbol type.
Started refactoring symbol resolver.
Slight improvement to symbol resolver.