Adapt metadatas and inspector to the new interface