(WIP) Some more non-working autogen stuff.