added Documentation to AddCategory and AddEvent.