what would be the purpose of the locale and currency lookup functions getting the context and hash?