Replacing the template prop