Added type casting to abstract fields
Merge pull request #26 from chives/dev

Added type casting to abstract fields