Add adaptor callbacks to properly input and output items