Registered 'search' as command.

Fixes #421.