Separated the putting/getting attributes and enabled single attribute retrieval to a type(var).

Fixed character length return of concatenating strings.