Made header cpp compatible