Added support for search plugin.

Closes #2.