Add Record objects command; Implement last-referred-object robot state.