Some Scaladoc would be useful here.