oin: adding possibility to export to library calls