calls them upon exit (via 'runResourceT'). Actions may be registered via 'register', or resources may be allocated atomically via 'allocate'. allocate corresponds closely to bracket. ok matthew, sthen.