Fixes templateListener.xml issue.

For further information see #62.