Extract methods

To be more consistent with the rest of the method handling
code.
Give rabbitmqctl a moment to do its job