Wrote the rest of the view model collection functions.