Fixed syntax errors, changed Metadata to Attr