Extracting edmtype