Seperate template replacement from adding the initial "custom" prefix, so that server-side templates (namely e-mails) can also have overrides.