Imported from https://github.com/math1um/objects-invariants-properties