Ugly patch to avoid "undefined method 'set_default' for main:Object"