Until now, the only things you could put in a package were classes, traits, and standalone objects. Scala 2.8 drops that restriction. Any kind of definition that you can put inside a class, you can also put at the top level of a package. To do so, put the definitions in a package object. Find out more here. [1]
Links:
[1] http://www.scala-lang.org/docu/files/packageobjects/packageobjects.html#