apply decorators to local declarations too