patch leaking types in PublicApi - references #371
Merge pull request #377 from theimowski/master

patch leaking types in PublicApi - references #371