Templates for plugins were not working. Fixed it