Updated protocols to use stimgen interface.