Define flex entity.