Fixed some leftover bad code.