Generate return message void value void.
Return message containing pointer.
Refactoring.
Added some better exception on unexpected return type.
Added access function