Add base classes and xml examples.