Removed unused quit function.