Added a "refresh" command.

This implements #26.