Fixed "Private type in exported signature" issue.
Merge pull request #182 from cristicbz/private_in_exported_fix

Fixed "Private type in exported signature" issue.