Refactor RuntimeMetaData for reuse of code. Make Target check only major/minor version.