Fixed CopyClassFields helper to prefer complete declarations.
Fixed FieldToPropertyPass to always visit complete class declaration.