Adding method mapping support to plug-in.