Adds documentation to core classes