Classes manipulations and tests.