[BUGFIX] Fixed broken import of `generateController`

The `generateController` and `generateControllerFactory` methods in the root namespace are undefined in the `1.7.0-beta.1` build. Is it worth writing tests ensuring that public APIs like this simply exist? If so, where would they go?