Workaround for scala compiler derp