Avoid duplicating method content from included wadl

Avoid duplicating method content when the same method is used
more than once.

Change-Id: Ia8dfcb7481ef39ce5146253a6b10203994a14559