Added sequence, call, apply.
Refactoring. Now variables don't leak.