boilerplate for 17 and 18 elements

Probably at some point this should be done by TH and done up to 40 or 50 (high enough that it wouldn't ever be hit practically), but at least for now, I added boilerplate for 17 and 18.