Added multi-argument terminate method