Add documentation for core