Main model class(es) and tests.