Use 'pop' method for kwargs instead of slice_args