Enabling multi-template and according fix.