Added Scala versions of getters.