Correctly append defined units to the history vector