Flag approach with listener on FlexibleEntity and value