declare visibility, removed unused vars, improve PHPDocs
let metatag syntax only store data in metadata renderer