parse: handle __cleanup__ attribute