Renamed template() to nest().