Added callback interface between extension and application