fixes #8: Added support for private fields.