Added callback execution to adaptor.