Added type to fields

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