> compile_wrapper seems to be private ....  It is indeed code duplication...
Then we need to promote compile_wrapper to public :)