Extract functionality of different types of runs (multiple rounds or given duration) to protocol.