Add generated code for editing list of rooms.