Transforms TDictionary::find into a templated function.

Issue: #30