Extract defining callbacks to adapters

Just like in case of fields, defining callbacks should be done the same way for
all adapters. This version includes basic definition that handles all currently
used in Sorcery cases