Spring.register_command takes objects, not classes

This is more flexible. For example it allows the user to instantiate the
command class how they wish. Or to pass a callable (e.g. a proc).