added support for getContainingElement() in old model storage technique, to allow test comparisons