Smart protocols