Can we get some ScalaDoc, or at least the return type. Because it is a bit hard to understand what the method(s) is supposed to do just looking at the code.