Added insertIntoDefs and forceClosePaths options.