Add filter to add possible template paths.