Initial support for services and extensions. Incomplete, but enough to get generated unit test files to compile.