Resolved issue where c++ weren't being copied correctly.