Adding and removing particle definitions.
Document handling.