docs: Added comments to core classes.