enhance value creation to handle: Enums & static method construction

Hi,

Please find enclosed a contribution that enhance your library to seamlessly handle enums & some object creation from static method calls.
Feel free to give me your feedback.

Matthieu