Extending A Class In Python