Making constructor parameters of the hydrator optional

Instantiating a reflection class instance is optional in most cases when dealing with the hydrator - this PR moves reflection class initialization to the proxy constructor, leaving the generated code the decision whether a reflection class is needed.