Revert initializeFromDB to public, and call checkMetadataVersion inside it