Tossing out old code related to detail templates.