Fix various tickets.