Added code for implicit enum constraints.