Added class mapping method with default values, encrypted and decrypted.

Useful methods for defining default values for mapped class attributes.