Add version parsing.