Templates table now linked to jobs table.