Extend object class per good practice in Python2.