Turned all classes into new Python classes (inheriting from "object") in order to avoid conflict with the "super" method to access inherited functions.