Move callback wrappers implementation from cpp file to the header