Scope some definitions within req-package to eliminate flycheck warnings