Is there any reason (other than personal preference) why add_mode is set to 0/1 and not False/True.
(Same comment for inplace)