Base model and libs.