Add duplicate reference to block

This is to allow for the replace flag to work when the level of template inheritence is > 1.
Merge pull request #2 from incuna/method-block

Add duplicate reference to block