route setter and type fields