Adding missing self.
Removing temporary print statements.