Fixed missing optional cases as well as creating a common trait
for readMessage[?] usage.
Merge pull request #47 from cideas/extendable-fix

Fixed missing optional cases as well as creating a common trait