Usage of context bounds in Scala