Fix #9. Allow custom template to be given to the filter from the constructor