Python: Added import for metrics in init