Fix #970: Exporting of (case) class fields declared in constructor