Patched attributes definition in metadata.php