Add metadata interfaces.
(Hopefully) fix error in .gitignore.