refactored to fix "unknown method: set_default" error.  Also structurally consistent with mina-sidekiq