Trying to figure out this sodding TypeError shit. Rage.