Update the command defaults parameter for the connection
Add the typehint and the doc block