Inject fields on superclass (fixes #1)