Enumerator constructor allows callable only