Defines YAML collection.
Gets collection size.
Tests for empty.
Tests for non-empty.
Constructs data.
data constructor