Use a map to look up impl fptrs