Fix a couple of bugs, get field inheritance working.
Only inherit heritable fields.