Some small changes to 'command reference' section of docs.
only setup handlers once