Fixed typo in to_obj super() call