Add wstring lookup functions, solves part of #3