Add metadata and search methods

Use def with parentheses when there are parameters.