Add metadata and search methods

Indent the right brace the same as the start of the line where the left brace is.