Add documentation for core classes