Fix for opts undefined error.