Add row declaration generation functionality