These methods don't exist on python2