Prime and Composite Hyperdoc