Added documentation for some parts of the core.