Move encoding kwarg up as per #27.