Fix #176: save self attribute for pending things