Inline some code from the cpp file