Killed one piece of the duplicated code for dynamic sessions/sections.