Fixed private fields to be semantically equal to Java