Added the ability to safely add example groups and examples. It will throw an exception if either of those has been added.