Added callback argument to 'invoke' in cake