MINOR Switched to 'new Python classes' (derived from object), used 'super' keyword in constructors.