Added support for 3.10 and 3.12