Added features to customize the argument-splitting algorithm.