@dg With presumption, that using `use` for alias definition is not allowed inside class or trait definition, I added [commit](https://github.com/milo/nette/commit/fcb4f3b823f237c81a31f48f5472e1d35c949c12) which counts curly brackets.