Remove unused expr_endfn.
Remove unused self.env.dynamic.keys clauses.