Moving duplicated nested property renderer code to its own class.