Fix access to undefined slots

It causes AttributeError on Python 3.3