Version 2.2.0, Python3 compatibility and including required attribute in inputs