Added private field support Fixes #162