Added comments to beans.scala