the model setter now get a proper type-hint on non-scalar attributes

refs #1106