Removed the assumption that version type is external when a version is provided