Added exceptions to member types

https://github.com/kfgodel/diamond/issues/129