Add union type support
Merge pull request #51 from infosia/union_type

Add union type support