Implemented simple cpp export.