Optimize some struct sizes and stuff.