Add support for search method

I've left search unimplemented; fixed that.