Close #1022.