Simplified StringRef - removed unused stuff