Add get_last_changes method affinitic refs #5832