Unneeded lazy val changed to a def.