Doc: registering commands and helpers