Unused code removed. Ticket removal scheduling added.