Fix the suport to private properties in Entities Classes: Issue #56. And removed some unused variables.