Add static method support to methodmaps.