`DocImpl`, scalaish bastard!