Added die() function.