While Chris is right that there is also #unload for this purpose, nevertheless "Preamble of removal" should work as expected as long as it exists.
Am Do., 19. Dez. 2019 um 15:33 Uhr schrieb Thiede, Christoph < Christoph.Thiede@student.hpi.uni-potsdam.de>:
To me, the name "preamble of removal" indicates clearly that the script should be executed before removal.
Agreed.