Added proper trampoline construction.