Issue #2137301 by cayci1, fago: Move entity constraints under the Entity component.