Completed initial implementation of the models framework.