Yes, the decorator does that. But flake8 does not allow to add undefined names here.