The MetadataInstance.php file has a wrong name regarding the class it contains. Renamed into MetadataValue.php