Changed method for retrieving fields for injection to find fields from s...

...uperclasses too. Fixes #442