Add struct generating code. Seems like the full-fledged object system is not necessary.