Error in call to parent class fixed. (no self)