Bugfix for content indexing.

Not only that, content loading and saving is now driven by the models
themselvs.