Add usage() method to program.