Refact version with the minimal elements.