Initial impl of metadata extraction.