MNT: list -> deque for faster appends
MNT: kwargs updated to match api change