Added persistance support for other primitive types