Scala: Added co-contra-variance for mystl package classes