Remove client.opts, because that doesn't work. Just use client.version.