Clean up the stack when calling ABMs