Added fields and prototypes for callbacks
Default callback infrastructure implementation