Diagram model updated.
Documentation added to core package.