move dot expansion into a plugin