removed wrongful inclusion of class parameter

Accidentally included passing the entire class object as an argument to `self`.