Faced this same issue. The static_map approach suggested in #9 worked great f...