@andrewor14 that's actually going to be deprecated in a future version of scala, so the approach here is correct.