Type enumeration because optional values are setted to 0