I've added the suggested fields and changed t() calls to $this->t().