Adding support for custom value types
Merge pull request #13 from MipMapApp/custom-types

Support for custom types via function