remove some warnings, create command_methods before connecting now works with instance_exec