Adds implementation of correct templates