Build from model type