Changes to support new stimuli, mapping, and template functions in KBase