Updates to cpp interface for Joe